<%@ page import="edu.uow.devdocs.TimeTracker" %>


<tr><form action='search'>

	<td>
	<g:datePicker name="dateOfWork" precision="day"  value="${timeTrackerInstance?.dateOfWork}"  />
	</td>



	<td>
	<g:field type="number" name="hours" step="0.01" min="0.25" max="10.0" required="" value="${fieldValue(bean: timeTrackerInstance, field: 'hours')}"/>
	</td>



	<td>
	<g:textArea name="comments" cols="40" rows="5" maxlength="2000" value="${timeTrackerInstance?.comments}"/>
	</td>



	<td>
	<g:field type="number" name="taskId" value="${fieldValue(bean: timeTrackerInstance, field: 'taskId')}"/>
	</td>



	<td>
	<g:select id="project" name="project.id" from="${edu.uow.devdocs.Project.list()}" optionKey="id" required="" value="${timeTrackerInstance?.project?.id}" class="many-to-one"/>
	</td>



	<td>
	<g:select id="phase" name="phase.id" from="${edu.uow.devdocs.Phase.list()}" optionKey="id" required="" value="${timeTrackerInstance?.phase?.id}" class="many-to-one"/>
	</td>



	<td>
	<g:select id="person" name="person.id" from="${edu.uow.devdocs.Person.list()}" optionKey="id" required="" value="${timeTrackerInstance?.person?.id}" class="many-to-one"/>
	</td>



	<td>
	<g:select id="downtimeReport" name="downtimeReport.id" from="${edu.uow.devdocs.DowntimeReport.list()}" optionKey="id" required="" value="${timeTrackerInstance?.downtimeReport?.id}" class="many-to-one"/>
	</td>



	<td>
	<g:select id="issue" name="issue.id" from="${edu.uow.devdocs.Issue.list()}" optionKey="id" required="" value="${timeTrackerInstance?.issue?.id}" class="many-to-one"/>
	</td>



	<td>
	<g:select id="developmentTask" name="developmentTask.id" from="${edu.uow.devdocs.DevelopmentTask.list()}" optionKey="id" required="" value="${timeTrackerInstance?.developmentTask?.id}" class="many-to-one"/>
	</td>



	<td>
	<g:select id="developmentChecklist" name="developmentChecklist.id" from="${edu.uow.devdocs.DevelopmentChecklist.list()}" optionKey="id" required="" value="${timeTrackerInstance?.developmentChecklist?.id}" class="many-to-one"/>
	</td>



	<td>
	<g:select id="deployment" name="deployment.id" from="${edu.uow.devdocs.Deployment.list()}" optionKey="id" required="" value="${timeTrackerInstance?.deployment?.id}" class="many-to-one"/>
	</td>

<button type='submit'>Go!</button></form></tr>
